<template>
	<view class="indexBig">
		<CommenHeader :title="'明细'"></CommenHeader>
		<view class="detailContent">
			<view class="list" v-for="(item,index) in list" :key="index">
				<view class="">
					<view class="">{{item.describe}}</view>
					<view class="">{{item.createTime}}</view>
				</view>
				<view class="">{{item.type}}{{item.num}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	import CommenHeader from '@/components/header/header.vue'
	export default {
		components: {
			CommenHeader
		},
		data() {
			return {
				list: [{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},
					{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},
					{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},
					{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},
					{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},
					{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},
					{
						describe: '提现到微信',
						createTime: '2021/7/30 12:12',
						type: '-',
						num: '30.00'
					},

				]
			}
		}
	}
</script>

<style lang="scss" scoped>
	.indexBig {
		min-height: 100vh;
		background: linear-gradient(270.83deg, #FFCA62 0.87%, #FFE27D 99.51%);
		background-size: 100vw 428rpx;
		background-repeat: no-repeat;
		background-color: #f5f5f5;
		padding: 40rpx 20rpx;
		padding-bottom: 150rpx;

		.top {
			position: relative;

			image {
				width: 40rpx;
				height: 40rpx;
				transform: rotate(90deg);
			}

			text {
				width: 100%;
				position: absolute;
				left: 0;
				top: 0;
				text-align: center;
				font-size: 32rpx;
				font-weight: bold;
			}
		}

		.detailContent {
			margin: 40rpx 0;
			background-color: #fff;
			border-radius: 20rpx;
			padding: 40rpx 20rpx;

			.list {
				@include flexs(space-between, center);
				margin: 0 0 30rpx 0;

				>view {
					&:nth-child(2) {
						font-size: 38rpx;
						font-weight: bold;
					}

					&:nth-child(1) {
						font-size: 32rpx;

						view:nth-child(2) {
							font-size: 28rpx;
							color: rgba(0, 0, 0, 0.55);
						}
					}
				}
			}
		}
	}
</style>
